package com.example.service;

import com.example.mapper.MajorMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 专业服务层
 */
@Service
public class MajorService {

    @Autowired
    private MajorMapper majorMapper;

    public List<Map<String, Long>> selectOptions() {
        return majorMapper.selectOptions();
    }
}
